package com.example.demo.mapper;

import com.example.demo.entity.Articleinfo;
import com.example.demo.entity.vo.ArticleinfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author :蕉绿
 * @Date : 2023/3/1 9:50
 * @Version : V1.0
 * @Description :
 */

@Mapper
public interface ArticleMapper {
     Articleinfo getById(@Param("id")Integer id);

     ArticleinfoVO getByName(@Param("id") Integer id);
}
